package net.toocruel.iqismart.entity.setting;

import net.toocruel.iqismart.entity.base.BaseEntity;

import javax.persistence.Entity;

/**
 * The type Setting.
 */
@Entity
public class SettingEmail extends BaseEntity {
    private static final long serialVersionUID = 8896028963251520581L;
    private String driver = "smtp";
    private String encryption = "ssl";
    private String fromAddress = "test@toocruel.net";
    private String fromName = "一起smart";
    private String host = "smtp.exmail.qq.com";
    private Boolean open = true;
    private String password = "UAGyL6Ptv4es5Eg7";
//    private String password = "gb5-ESr-mqQ-oEg";
    private Integer port = 465;
    private String sendMail = "/usr/sbin/sendmail -bs";
    private String username = "test@toocruel.net";

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getEncryption() {
        return encryption;
    }

    public void setEncryption(String encryption) {
        this.encryption = encryption;
    }

    public String getFromAddress() {
        return fromAddress;
    }

    public void setFromAddress(String fromAddress) {
        this.fromAddress = fromAddress;
    }

    public String getFromName() {
        return fromName;
    }

    public void setFromName(String fromName) {
        this.fromName = fromName;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getSendMail() {
        return sendMail;
    }

    public void setSendMail(String sendMail) {
        this.sendMail = sendMail;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}